package drp.snowbell.module;

import java.util.Collection;

import drp.snowbell.cache.CacheSystem;
import drp.snowbell.cache.ICache;
import drp.snowbell.cfg.EntityConfig;
import drp.snowbell.cfg.ModuleConfig;
import drp.snowbell.cfg.PartConfig;
import drp.snowbell.entity.IEntity;


public class DefaultModule implements IModule {
	private String name;
	private ICache<String, EntityInfo> entityCache = CacheSystem.getCache(DefaultModule.class.getName());

	public void initialize(ModuleConfig mc, Collection<EntityConfig> entityConfigList, Collection<PartConfig> partConfigList) {
		this.name = mc.getName();

		// TODO
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public ActionResult doAction(ActionContext context) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IEntity newEntityInstance(String entityName) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IEntity newPartInstance(String PartName) {
		// TODO Auto-generated method stub
		return null;
	}

}
